package tests;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        System.out.println("expr to be judged");
        String rex="\\w+@\\w+(\\.\\w{2,3})*";
        String expr;
        Scanner scanner=new Scanner(System.in);
        expr=scanner.next();
        System.out.println(expr.matches(rex));
    }
}
